package com.next.aappublicapp;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.webkit.WebView;

public class DonateNowActivity extends Activity {

	private WebView donateWebView;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_donate_now);
		
		donateWebView = (WebView)findViewById(R.id.donateWebView);
		donateWebView.getSettings().setBuiltInZoomControls(true);
		donateWebView.getSettings().setJavaScriptEnabled(true);
		
		donateWebView.loadUrl("http://donate.aamaadmiparty.org/?utm_source=androidapp&utm_medium=webview&utm_term=NA&utm_content=android&utm_campaign=RaviAndroidApp");
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.donate_now, menu);
		return true;
	}

}
